package com.botann.projects.base;

/**
 * Created by liushanguo on 2017/5/22.
 */
public class SGException extends Exception {

    private Integer errorCode;

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }


    public SGException() {
        super();
    }

    public SGException(Integer errorCode,String message) {
        super(message);
        this.errorCode = errorCode;
    }


}
